﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网上技能培训预约登记系统</title>
<link type="text/css" rel="stylesheet"  href="../Public/style/common.css"/>
<script type="text/javascript" src="../Public/js/check.js"></script>
<script type="text/javascript"  src="../Public/js/Base.js"></script>
<script type="text/javascript"  src="../Public/js/prototype.js"></script>
<script type="text/javascript"  src="../Public/js/mootools.js"></script>
<script type="text/javascript"  src="../Public/js/Ajax/ThinkAjax.js"></script>
<script type="text/javascript" language="javascript">
ThinkAjax.updateTip='<IMG SRC="../Public/images/ajaxloading.gif" WIDTH="16" HEIGHT="16" BORDER="0" ALT="" align="absmiddle"> 登录中～';
function complete(data,status)
{
    if (status==1)
        {
        $('result').innerHTML= '<span style="color:blue"><IMG SRC="../Public/images/ok.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle" > 登录成功！3 秒后跳转～</span>';
        $('forms').reset();
        window.location = '__APP__/index/';
        }
}
</script>
</head>

<body>
<div id="layout">
<div id="logindiv">
    <form  method="post" id="forms" >
<span class="font_one">学员登录:</span>
<label>用户名:</label><input type="text" name="stu_name" id="stu_name" value="" />
<label>密码:</label><input type="password" name="stu_pwd" id="stu_pwd" value="" />
<input  type="button" class="font_one" style="width:45px;height:23px;" value="登录"  onclick="ThinkAjax.sendForm('forms','__URL__/checklogin/',complete,'result');"/>
<input type="button"   class="font_one" style="width:45px;height:23px;" value="注册" onclick="javascript:location.href='__APP__/Register/register'"/>
</form>
<div id="result"></div>
<if condition="$stuname neq ''" >
    <div id="welcome"><p>欢迎您,<strong>{$stuname}</strong>&nbsp;&nbsp;<span  ><a href="__APP__/Index/personnal" class="font_one">个人中心</a></span></p></div>
</if>
</div>

<!--banner开始-->
<div id="banner">
<img src="../Public/images/banner.jpg" alt="人力资源和社会保障部职业技能鉴定中心"/>
</div>
<!--banner结束-->
<!--nav 开始 -->
<div id="nav" >
	<div id="nav_item">
<ul>
<li><a href="__APP__/Index/index" >首页</a></li>
<li><a href="__APP__/NewInfo/gonggao" >鉴定公告</a></li>
<li><a href="__APP__/NewInfo/zhengce" >最新政策</a></li>
<li><a href="" >热点项目</a></li>
<li><a href="#" >考核鉴定须知</a></li>
<li><a href="#" >职业报考条件</a></li>
<li><a href="#" >常见问题</a></li>
<li><a href="#" >联系我们</a></li>
</ul>
</div>
</div>
<!--nav 结束-->